home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / pcboard / nuscan5.zip / NUSCAN5.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-05-23  |  3KB  |  142 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     Integer  INTEGER002
  21.     Integer  INTEGER003
  22.     String   STRING001
  23.     String   STRING002
  24.     String   STRING003
  25.     String   STRING004
  26.     String   STRING005
  27.     String   STRING006
  28.  
  29. ;------------------------------------------------------------------------------
  30.  
  31.     INTEGER001 = 100
  32.     STRING004 = "N"
  33.     STRING005 = ReadLine(PCBDat(), 31)
  34.     STRING003 = ReadLine(STRING005, 15)
  35.     STRING001 = FileInf(STRING003, 2)
  36.     INTEGER002 = Left(STRING001, 2) * INTEGER001 + Mid(STRING001, 4, 2)
  37.     GetUser
  38.     STRING002 = U_LDir()
  39.     INTEGER003 = Left(STRING002, 2) * INTEGER001 + Mid(STRING002, 4, 2)
  40.     If (INTEGER003 < INTEGER002) Then
  41.         PrintLn 
  42.         PrintLn "@X0EUnregistered Evaluation Copy - 20 Second Delay"
  43.         PrintLn "@X0FEncourage your SysOp to register this program!"
  44.         Delay 200
  45.         PrintLn 
  46.         PrintLn 
  47.         PrintLn 
  48.         PrintLn "@X03@X0BNEWSCAN v4.0  @X07Registered to: @X4F UNREGISTERED @X07"
  49.         PrintLn "@X10┌──────────────────────────────────────────────────────────────────────@X19┐@X07"
  50.         PrintLn "@X10│@X19 ┌──────────────────────────────────────────────────────────────────@X10┐@X10 @X19│@X07"
  51.         PrintLn "@X10│@X19 │@X1FThere have been @X9ENEW FILES @X1Fadded to the system since your last call@X10│ @X10@X19│@X07"
  52.         PrintLn "@X10│@X19 └@X10──────────────────────────────────────────────────────────────────┘ @X10@X19│@X07"
  53.         PrintLn "@X10└@X19──────────────────────────────────────────────────────────────────────┘@X07"
  54.         InputYN "@X0F@FIRST@, Would you like to @X0Aview @X0Fthe list of new @X0Afiles", STRING004, 7
  55.     Endif
  56.     STRING004 = Upper(STRING004)
  57.     If (STRING004 == "Y") Goto LABEL001
  58.     If (STRING004 == "N") Goto LABEL004
  59.     End
  60.     :LABEL001
  61.     Newline
  62.     InputStr "@X0C(@X0EU@X0C)@X0Fpload Directory @X0Bor @X0C(@X0EA@X0C)@X0Fll the directories", STRING006, 14, 1, Mask_Alpha(), 8
  63.     If (STRING006 == "U") Goto LABEL002
  64.     If (STRING006 == "u") Goto LABEL002
  65.     If (STRING006 == "a") Goto LABEL003
  66.     If (STRING006 == "A") Goto LABEL003
  67.     Goto LABEL004
  68.     :LABEL002
  69.     Dir "N;S;U"
  70.     PrintLn "@PON@"
  71.     Goto LABEL004
  72.     :LABEL003
  73.     Dir "N;S;A"
  74.     PrintLn "@PON@"
  75.     :LABEL004
  76.     Newline
  77.     PrintLn 
  78.     PrintLn 
  79.     PrintLn 
  80.     PrintLn "@X0EUNREGISTERED EVALUATION COPY - 20 SECOND DELAY @X07"
  81.     PrintLn "@X0FTo Register this program call @X0EThe Billboard BBS - @X0C(@X0B312@X0C)@X0B284-5508"
  82.     Delay 200
  83.  
  84. ;------------------------------------------------------------------------------
  85. ;
  86. ; Usage report (before postprocessing)
  87. ;
  88. ; ■ Statements used :
  89. ;
  90. ;    1       End
  91. ;    10      Goto 
  92. ;    9       Let 
  93. ;    19      PrintLn 
  94. ;    7       If 
  95. ;    1       GetUser
  96. ;    1       InputStr 
  97. ;    1       InputYN 
  98. ;    2       Delay 
  99. ;    2       Newline
  100. ;    2       Dir 
  101. ;
  102. ;
  103. ; ■ Functions used :
  104. ;
  105. ;    2       *
  106. ;    2       +
  107. ;    6       ==
  108. ;    1       <
  109. ;    1       !
  110. ;    1       Upper()
  111. ;    2       Mid()
  112. ;    2       Left()
  113. ;    1       U_LDir()
  114. ;    1       Mask_Alpha()
  115. ;    1       PCBDat()
  116. ;    2       ReadLine()
  117. ;    1       FileInf()
  118. ;
  119. ;------------------------------------------------------------------------------
  120. ;
  121. ; Analysis flags : d
  122. ;
  123. ; d - Access PCBOARD.DAT ■ 2
  124. ;     Program gets the full pathname to PCBOARD.DAT, this may be usefull
  125. ;     for many PPE so they can find various informations on the system
  126. ;     (system paths, max number of lines in messages, ...) but it may also
  127. ;     be a way to gather vital informations.
  128. ;     ■ Search for : PCBDAT()
  129. ;
  130. ;------------------------------------------------------------------------------
  131. ;
  132. ; Postprocessing report
  133. ;
  134. ;    0       For/Next
  135. ;    0       While/EndWhile
  136. ;    1       If/Then or If/Then/Else
  137. ;    0       Select Case
  138. ;
  139. ;------------------------------------------------------------------------------
  140. ;                 AEGiS Corp - Break the routines, code against the machines!
  141. ;------------------------------------------------------------------------------
  142.